package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * grade对象 zx_grade
 * 
 * @author ruoyi
 * @date 2021-05-08
 */
public class Grade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long gId;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gName;

    /**  */
    @Excel(name = "")
    private Long pId;

    public void setgId(Long gId) 
    {
        this.gId = gId;
    }

    public Long getgId() 
    {
        return gId;
    }
    public void setgName(String gName) 
    {
        this.gName = gName;
    }

    public String getgName() 
    {
        return gName;
    }
    public void setpId(Long pId) 
    {
        this.pId = pId;
    }

    public Long getpId() 
    {
        return pId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gId", getgId())
            .append("gName", getgName())
            .append("pId", getpId())
            .toString();
    }
}
